package com.xupengdi.lab_3;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.http.RequestEntity;
import org.springframework.http.ResponseEntity;
import org.springframework.web.client.RestTemplate;

@SpringBootApplication
public class Lab3Application {

    public static void main(String[] args) {
        SpringApplication.run(Lab3Application.class, args);
    }
//    FETCH_URL
//    RequestEntity<Void> requestEntity = RequestEntity
//            .get(URI.creaat(FETCH_URL))
//            .header("User-Agent", USER_AGENT)
//            .build();
//    ResponseEntity<Resourse> resourseResponseEntity = new RestTemplate().exchange(requestEntity, resourse.class);
//    Resourse resource = resourseResponseEntity.getBody();


}
